home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
DHA demo
/
Don Norman Folder
/
The Library
/
The Library.rsrc
/
CSTR_7597_helpRezCSTR
< prev
next >
Wrap
Text File
|
1994-09-21
|
1KB
|
44 lines
global gHTile, gTToolsInstalled, gTTKName
if (gTToolsInstalled = "true") then
put tStr("EBTMsg",42) into wn
put getStackPath() & gTTKName into sn
else
put tStr("LibMsg",32) into wn
put getstackpath() & "the library" into sn
end if
if there is not a window wn then
put 0 into gHTile
cbusy
get wn
maxmem
if WinSpace(it,"R") then
textxwindow 32051, wn, true,5
if there is a window wn then
isEBW wn
set saveFileName of window wn to sn
set saveRezName of window wn to wn
put offsetR("5,40,318,240") into r
set rect of window wn to r
set neverwrap of window wn to true
if (the optionkey = "down") then
set saveChanges of window wn to true
set saveMethod of window wn to "Resource"
set returnclickline of window wn to false
set editstate of window wn to 2
else
set saveChanges of window wn to false
end if
set saveAlertID of window wn to GetDlgID(328)
send readRez to window wn
set lineheight of window wn to 15
set the textselection of window wn to "0,0"
set ClickHandlerName of window wn to "HWClick"
set visible of window wn to true
send endEdit to window wn
else
lomem wn
end if
else
lomem wn
end if
end if